package com.xdf.ecommerce.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * SCSMessage = Spring-Cloud-Stream-Message
 * @author chanchaw
 * @create 2025-11-04 20:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SCSMessage implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String projectName;
    private String org;
    private String author;
    private String version;
    public static SCSMessage defaultMessage(){
        return new SCSMessage(1,"spring-cloud-stream-client","xdfsoft","chanchaw","1.0");
    }
}
